package com.hducms.cms.service;

import java.io.IOException;
import java.util.List;

import com.hducms.cms.entity.main.CmsSite;
import com.hducms.cms.entity.main.CmsUser;

public interface CmsSiteService {
//	public List<CmsSite> getList();
//
//	public List<CmsSite> getListFromCache();
//
	/**
	 * 从域名中获取site
	 * @param domain
	 * @param cacheable
	 * @return
	 */
	public CmsSite findByDomain(String domain, boolean cacheable);
//
	public CmsSite findById(Integer id);
//
//	public CmsSite save(CmsSite currSite, CmsUser currUser, CmsSite bean,
//			Integer uploadFtpId) throws IOException;
//
//	public CmsSite update(CmsSite bean, Integer uploadFtpId);
//
//	public void updateTplSolution(Integer siteId, String solution);
//
//	public CmsSite deleteById(Integer id);
//
//	public CmsSite[] deleteByIds(Integer[] ids);
}